<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<TITLE>Untitled Page</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<link href="../css/public.css" rel="stylesheet"
			style="text/css">

		<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
	</HEAD>
	<BODY
		style="BACKGROUND-POSITION-Y: -120px; BACKGROUND-IMAGE: url(../images/background.gif); BACKGROUND-REPEAT: repeat-x">
<SCRIPT type=text/javascript>
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</SCRIPT>


<SCRIPT type=text/javascript>
//<![CDATA[
function doPostBack() {
        document.storage.submit();
}
//]]>
</SCRIPT>


		<SCRIPT src="EmployeeMgr.files/WebResource.axd" type=text/javascript></SCRIPT>
		<SCRIPT src="EmployeeMgr.files/ScriptResource.axd"
			type=text/javascript></SCRIPT>
		<SCRIPT src="/EmployeeMgr.files/ScriptResource(1).axd"
			type=text/javascript></SCRIPT>
		<DIV>
			<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
				<TBODY>
					<TR
						style="BACKGROUND-IMAGE: url(../images/bg_header.gif); BACKGROUND-REPEAT: repeat-x"
						height=47>
						<TD width=10>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
						</TD>
						<TD>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
							<SPAN
								style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0 px: ">
								修改库存</SPAN><SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN>
						</TD>
						<TD
							style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(../images/main_rc.gif)"
							width=10></TD>
					</TR>
					<TR>
						<TD style="BACKGROUND-IMAGE: url(../images/main_ls.gif)">
							&nbsp;
						</TD>
						<TD
							style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; COLOR: #566984; PADDING-TOP: 10px; BACKGROUND-COLOR: white"
							vAlign=top align="center">
							<DIV>
								<TABLE class=gridView id=ctl00_ContentPlaceHolder2_GridView1
									style="WIDTH: 50%; BORDER-COLLAPSE: collapse" cellSpacing=0
									rules=all border=1 align="left" >
									<BODY>
									<form action="stock_saveStock.action" method="post" name="storage">
								
										<TR>
											<TH class=gridViewHeader scope=col>
												库存中的商品
											</TH>
											<td class=gridViewItem>
											<input type="text" value='<s:property value='mstock.commodity.name'/>' name="stock.commodity.name"/>
											</td>
										</TR>
										<TR>
											<TH class=gridViewHeader scope=col>
												该商品的总的数量
											</TH>
											<td class=gridViewItem>
											<input type="text" value='<s:property value='mstock.quantity'/>' name="mstock.quantity"/>
											</td>
										</TR>
										<TR>
											<TH class=gridViewHeader scope=col>
												该商品的可操作数量
											</TH>
											<td class=gridViewItem>
											<input type="text" value='<s:property value='mstock.availablequantity'/>' name="mstock.availablequantity"/>
											</td>
										</TR>
										<TR>
											<TH class=gridViewHeader scope=col>
												 商品所在的库
											</TH>
											<td class=gridViewItem>
											<input type="text" value='<s:property value='mstock.library '/>' name="mstock.library"/>
											</td>
										</TR>
										<TR>
											<TH class=gridViewHeader scope=col>
											商品所在的架
											</TH>
											<td class=gridViewItem>
											<input type="text" value='<s:property value='mstock.frame'/>' name="mstock.frame"/>
											</td>
										</TR>
										<TR>
											<TH class=gridViewHeader scope=col>
											商品所在的层
											</TH>
											<td class=gridViewItem>
											<input type="text" value='<s:property value='mstock.layer'/>' name="mstock.layer"/>
											</td>
										</TR>
										<TR>
											<TH class=gridViewHeader scope=col>
											商品所在的位
											</TH>
											<td class=gridViewItem>
											<input type="text" value='<s:property value='mstock.bit'/>' name="mstock.bit"/>
											</td>
										</TR>
										<tr> 
										<TH class=gridviewHeader scope=col>操作</TH>
										<TD class=gridViewItem><A class=cmdField onclick="javascript:doPostBack()">保存</A></TD>
										</tr>
										</form>
									</BODY>
								</TABLE>
							</DIV>
						</TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rs.gif)"></TD>
					</TR>
					<TR
						style="BACKGROUND-IMAGE: url(../images/main_fs.gif); BACKGROUND-REPEAT: repeat-x"
						height=10>
						<TD style="BACKGROUND-IMAGE: url(../images/main_lf.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_fs.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rf.gif)">
							
						</TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<SCRIPT type=text/javascript>
//<![CDATA[
Sys.Application.initialize();
//]]>
</SCRIPT>
	</BODY>
</HTML>
